<script setup>
import { onMounted, ref } from 'vue'
// 1、业务功能1
const money = ref(100)
onMounted(() => {
  money.value = 1000
  console.log('1111')
})

// 2、业务功能2
const count = ref(1)
onMounted(() => {
  money.value++
  console.log('2222')
})
</script>

<template>
  <div>
    <div>{{ count }}</div>
  </div>
</template>
